<?php
// 严格开发模式
error_reporting( E_ALL );
header('Content-Type: text/html; charset=utf-8');
define("DS", '/');
define("APP_PATH",  dirname(__FILE__).DS.'..'.DS.'application'.DS);
session_start(); 
$app  = new Yaf_Application(APP_PATH . "conf/application.ini");
$app->bootstrap()->run();
